/// 当前页结果集
class WithdrawOrderPageByTeamIdResponseDto {
  /// 历史提现订单id
  final int? hisOrderId;
  /// 订单号
  final String? orderNum;
  /// 订单金额，单位奈位
  final String? withdrawAmountNaira;
  /// 该订单的提现汇率（美元兑换奈拉的汇率）
  final String? rate;
  /// 订单金额，单位美元
  final String? withdrawAmountDollar;
  /// 手续费（该订单的真实手续费），单位美元
  final String? realFee;
  /// 订单处理人
  final String? operateBy;
  /// 订单处理时间
  final String? withdrawTime;
  /// 结账状态，1已结账，0未结账
  final int? settleStatus;
  /// 提现凭证访问地址
  final String? proofUrl;

  WithdrawOrderPageByTeamIdResponseDto({
    this.hisOrderId,
    this.orderNum,
    this.withdrawAmountNaira,
    this.rate,
    this.withdrawAmountDollar,
    this.realFee,
    this.operateBy,
    this.withdrawTime,
    this.settleStatus,
    this.proofUrl,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (hisOrderId != null) data['hisOrderId'] = hisOrderId;
    if (orderNum != null) data['orderNum'] = orderNum;
    if (withdrawAmountNaira != null) data['withdrawAmountNaira'] = withdrawAmountNaira;
    if (rate != null) data['rate'] = rate;
    if (withdrawAmountDollar != null) data['withdrawAmountDollar'] = withdrawAmountDollar;
    if (realFee != null) data['realFee'] = realFee;
    if (operateBy != null) data['operateBy'] = operateBy;
    if (withdrawTime != null) data['withdrawTime'] = withdrawTime;
    if (settleStatus != null) data['settleStatus'] = settleStatus;
    if (proofUrl != null) data['proofUrl'] = proofUrl;
    return data;
  }

  factory WithdrawOrderPageByTeamIdResponseDto.fromJson(Map<String, dynamic> json) {
    return WithdrawOrderPageByTeamIdResponseDto(
      hisOrderId: json['hisOrderId'],
      orderNum: json['orderNum'],
      withdrawAmountNaira: json['withdrawAmountNaira'],
      rate: json['rate'],
      withdrawAmountDollar: json['withdrawAmountDollar'],
      realFee: json['realFee'],
      operateBy: json['operateBy'],
      withdrawTime: json['withdrawTime'],
      settleStatus: json['settleStatus'],
      proofUrl: json['proofUrl'],
    );
  }
}